package com.lee.controller;

import com.lee.model.AliOSSProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/test")
@RestController
public class TestController {
    @Autowired
    private AliOSSProperties aliOSSProperties;
    @GetMapping("/spring")
    public String testSpringBoot() {
        System.out.println(aliOSSProperties);
        return "Hello SpringBoot!";
    }
}
